package org.publiccms.mybatis.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.publiccms.mybatis.entity.CmsCategory;
import org.publiccms.mybatis.entity.CmsCategoryQuery;

public interface CmsCategoryMapper {
    long countByExample(CmsCategoryQuery example);

    int deleteByExample(CmsCategoryQuery example);

    int deleteByPrimaryKey(Integer id);

    int insert(CmsCategory record);

    int insertSelective(CmsCategory record);

    List<CmsCategory> selectByExampleWithBLOBsWithRowbounds(CmsCategoryQuery example, RowBounds rowBounds);

    List<CmsCategory> selectByExampleWithBLOBs(CmsCategoryQuery example);

    List<CmsCategory> selectByExampleWithRowbounds(CmsCategoryQuery example, RowBounds rowBounds);

    List<CmsCategory> selectByExample(CmsCategoryQuery example);

    CmsCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CmsCategory record, @Param("example") CmsCategoryQuery example);

    int updateByExampleWithBLOBs(@Param("record") CmsCategory record, @Param("example") CmsCategoryQuery example);

    int updateByExample(@Param("record") CmsCategory record, @Param("example") CmsCategoryQuery example);

    int updateByPrimaryKeySelective(CmsCategory record);

    int updateByPrimaryKeyWithBLOBs(CmsCategory record);

    int updateByPrimaryKey(CmsCategory record);
}